PGMB\Metabox\Main B

Total Complexity 94
Dependencies 10
Dependents 1
Total lines 856
Lines of code 437
Logical lines of code 197
Comment lines 321
Methods 29
Properties 8

Methods 29

Method Rating Maintainability Complexity Lines of code
ajax_create_post()
A
43 11 47
should_create_autopost()
A
58 9 13
handle_autopost_on_post_save()
S
58 8 15
publish_autopost()
S
50 7 27
enqueue_metabox_assets()
S
44 4 43
sanitize_form_fields()
S
57 5 17
ajax_load_post()
S
52 4 25
ajax_load_autopost_template()
S
54 4 21
enqueue_block_editor_assets()
S
53 3 24
register_gutenberg_meta()
S
54 3 22
validate_form_fields()
S
55 3 21
save_autopost_checkbox_value()
S
64 4 9
publish_scheduled_autopost()
S
69 4 6
get_autopost_checkbox_checked()
S
61 3 11
render_auto_post_checkbox()
S
60 2 16
__construct()
S
61 2 12
ajax_delete_post()
S
62 2 11
gmb_topic_types()
S
54 1 24
get_subscribed_hooks()
S
55 1 19
is_wp_post_submission()
S
71 2 6
is_autopost_checkbox_checked()
S
71 2 6
render_meta_box()
S
63 2 10
register_meta_box()
S
64 2 10
has_autopost_term()
S
82 1 3
is_autopost_enabled()
S
82 1 3
wp_time_format()
S
72 1 5
catch_rest_request()
S
76 1 4
init()
S
77 1 4
get_post_editor()
S
82 1 3